/**
 * 
 */
package com.google.code.jkippt.query;

/**
 * @author Federico De Faveri defaveri@gmail.com
 *
 */
public class SearchQuery {
	
	protected String query;
	protected String listId;
	protected Boolean isStarred;
	
	/**
	 * @param query
	 */
	public SearchQuery(String query) {
		this.query = query;
	}

	/**
	 * @return the listId
	 */
	public String getListId() {
		return listId;
	}

	/**
	 * @param listId the listId to set
	 */
	public void setListId(String listId) {
		this.listId = listId;
	}

	/**
	 * @return the isStarred
	 */
	public Boolean getIsStarred() {
		return isStarred;
	}

	/**
	 * @param isStarred the isStarred to set
	 */
	public void setIsStarred(Boolean isStarred) {
		this.isStarred = isStarred;
	}

	/**
	 * @return the query
	 */
	public String getQuery() {
		return query;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("SearchQuery [query=");
		builder.append(query);
		builder.append(", listId=");
		builder.append(listId);
		builder.append(", isStarred=");
		builder.append(isStarred);
		builder.append("]");
		return builder.toString();
	}
}
